list = [1, 6, 8, 3, 9, 6, 56, 45, 58, 96, 23, 14, 58, 2, 78, 6, 3, 5, 23, 56]

max = 0
for i in list:
    if i > max:
        max = i

print("列表中最大的数为：", max)
